package com.hmall.order;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.hmall.order.mapper")

@SpringBootApplication(scanBasePackages = {"com.hmall.order","com.hmall.interceptor","com.hmall.conf"})
@EnableFeignClients(basePackages = "com.hmall.client")
@Slf4j
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
        log.info("订单微服务启动成功！！！");
    }

}